package org.jeecg.modules.system.problem.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 问题管诉求理
 * @Author: 月月鸟
 * @Date:   2021-07-01
 * @Version: V1.0
 */
@Data
@TableName("bike_problem_appeal")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_problem_appeal对象", description="问题管诉求理")
public class BikeProblemAppeal implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**单号*/
	@Excel(name = "单号", width = 15)
    @ApiModelProperty(value = "单号")
    private java.lang.String code;
	/**用户编码*/
	@Excel(name = "用户编码", width = 15)
    @ApiModelProperty(value = "用户编码")
    private java.lang.String userId;
    /**用户账号（手机号）*/
    @Excel(name = "用户账号（手机号）", width = 15)
    @ApiModelProperty(value = "用户账号（手机号）")
    @TableField(exist = false)
    private java.lang.String userCode;
    /**用户姓名*/
    @Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    @TableField(exist = false)
    private java.lang.String userName;
	/**备用电话*/
	@Excel(name = "备用电话", width = 15)
    @ApiModelProperty(value = "备用电话")
    private java.lang.String sparePhone;
	/**诉求内容*/
	@Excel(name = "诉求内容", width = 15)
    @ApiModelProperty(value = "诉求内容")
    private java.lang.String appealContent;
	/**处理状态(0未处理1处理中2已办结)*/
	@Excel(name = "处理状态(0未处理1处理中2已办结)", width = 15, dicCode = "process_status")
	@Dict(dicCode = "process_status")
    @ApiModelProperty(value = "处理状态(0未处理1处理中2已办结)")
    private java.lang.String processStatus;
	/**处理人*/
	@Excel(name = "处理人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "处理人")
    private java.lang.String handleBy;
	/**处理时间*/
	@Excel(name = "处理时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处理时间")
    private java.util.Date handleTime;
	/**处理内容*/
	@Excel(name = "处理内容", width = 15)
    @ApiModelProperty(value = "处理内容")
    private java.lang.String handleContent;
	/**处理人*/
	@Excel(name = "办结时间", width = 15)
    @ApiModelProperty(value = "办结时间")
    private java.lang.String finishBy;
	/**处理时间*/
	@Excel(name = "办结时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "办结时间")
    private java.util.Date finishTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**提交时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提交诉求时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
}
